<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>查询结果</title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<script type="text/javascript" src="${ctx}/script/order.js"></script>
	</head>
	<body>
		<br><%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
		<form action="${ctx}/addBillManage.do?method=normalSelect"
			method="post" id="form1">
			<input type="hidden" name="orderindex.paystatus"
				value="${para.paystatus}" />
			<input type="hidden" name="orderindex.status" value="${para.status}" />
			<input type="hidden" name="orderindex.deliverstatus"
				value="${para.deliverstatus}" />
			<input type="hidden" name="wuliu" value="${para.wuliu}" />
			<input type="hidden" name="caiwu" value="${para.caiwu}" />
			<input type="hidden" name="dianzi" value="${para.dianzi}" />
			<TABLE cellspacing="1" cellpadding="6" border="0" width="70%">
				<TR>
					<TD align="left">
						<input id="chkSelectAll" type="checkbox" name="chkSelectAll"
							onclick="che(this)" />
						<label for="chkSelectAll">
							全选
						</label>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
					<TD align="right">
						<logic:equal value="4" name="para" property="status"></logic:equal>
						<logic:notEqual value="4" name="para" property="status">
								<input type="button" name="btnAbandon" value="批量取消" id="bu"
								onclick="javaScript:tiaosubmit('${ctx}/addBillManage.do?method=cancelAll')" disabled="disabled"/>
						</logic:notEqual>
					</TD>
				</TR>
				<TR align="center">
					<th nowrap class="td_01">
						<font size="2">选择</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">订单号</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支付方式</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">配送方式</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支配方式</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">订货人</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">城市</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">下单日期</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">货款金额</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支付确认时间</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">发货时间</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">订单状态</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支付状态</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">配送状态</font>
					</th>
					<TH>
						订单处理日志
					</TH>
				</TR>
				<logic:present name="DemoRange">
					<logic:iterate id="waitlist" name="DemoRange" property="records">
						<TR align="center">
							<td>
								<input type="checkbox" name="checkbox" value="${waitlist.id}" onclick="checkdd(this)"/>
							</td>
							<TD>
								<a
									href="${ctx}/addBillManage.do?method=billdetial&id=${waitlist.id}">${waitlist.id}</a>
							</TD>
							<TD>
								${waitlist.customername}
							</TD>
							<TD>
								${waitlist.vipcode}
							</TD>
							<TD>
								${waitlist.city}
							</TD>
							<TD>
								${waitlist.adddate}
							</TD>
							<TD>
								${waitlist.orderprice}
							</TD>
							<TD>
								${waitlist.usepoint}
							</TD>
							<TD>
								${waitlist.paystatustime}
							</TD>
							<TD>
								${waitlist.customerword}
							</TD>
							<TD>
								<logic:equal value="1" name="waitlist" property="paymenttype">支付宝</logic:equal>
								<logic:equal value="2" name="waitlist" property="paymenttype">快钱</logic:equal>
								<logic:equal value="3" name="waitlist" property="paymenttype">信用卡网上支付</logic:equal>
								<logic:equal value="4" name="waitlist" property="paymenttype">上门自提</logic:equal>
								<logic:equal value="5" name="waitlist" property="paymenttype">货到付款</logic:equal>
								<logic:equal value="6" name="waitlist" property="paymenttype">银行转账/汇款</logic:equal>
							</TD>
							<TD>
								${waitlist.delivercode}
							</TD>
							<TD>
								${waitlist.sendtime}
							</TD>
							<TD>
								<logic:equal value="2" name="waitlist" property="payanddeliver">先货后款</logic:equal>
								<logic:equal value="1" name="waitlist" property="payanddeliver">先款后货</logic:equal>
								<logic:equal value="3" name="waitlist" property="payanddeliver">自提</logic:equal>
							</TD>
							<TD>
								<a
									href="javaScript:theBigPropper('addBillManage.do?method=selectLog&id=${waitlist.id}',500,500)">日志</a>
							</TD>
						</TR>
					</logic:iterate>
				</logic:present>
				<tr>
					<td colspan="5">
						<%@ include file="/pages/safeai/jsp/common/page.jsp"%>
					</td>
				</tr>
			</TABLE>
		</form>
	</body>
</html>